let prev = Date.now()
function jieliu(fn, delay) {
    let now = Date.now()
    if (now - prev > delay) {
        fn()
        prev = Date.now()
    }
}

export default jieliu